package com.nacos.producer.nacosproducer.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Administrator
 */
@Controller
@RequestMapping("/producer/")
public class ProducerControoller {


    @GetMapping("pro")
    @ResponseBody
    public String producer(String name){
        return "producer:"+name;
    }
}
